package com.crazy.jiakoulachang.mapper;

import com.crazy.jiakoulachang.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;

/**
 * @author: 卢辉宇
 * @date: 2023/3/15 21:35
 * @description:
 */
@Mapper
public interface UserMapper {

    User selectByNumber(String number);

    void insert(@Param("userName") String userName, @Param("number") String number);

    User selectByNameAndNumber(@Param("userName") String userName, @Param("number") String number);
}
